<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"   prefix="fn" %>
<style>
.formTable{text-align:left;}

</style>
<h1>G商融通发标</h1>
<script type="text/javascript" src="${ctx}/pages/templete/js/validate/gsrt/tender.js"></script>
<script type="text/javascript">
$(function(){
	$("#gaoliang22").removeClass("sub-menu-link").addClass("selected");
});
</script>
<form id="form" action="${ctx}/gsrt/dotender.do" method="POST" target="_blank" >
	<input type="hidden" name="VerficationCode" value="${config.verficationCode }"/>
	<table width="100%" class="formTable">
		<tr>
			<td width="35%" align=right>版本号:</td>
			<td>
				<select id="version" name="version">
					<option value="2.1" selected >2.1</option>
				</select>
			</td>
		</tr>
		
		<tr>
			<td align=right>交易代码:</td>
			<td>
				<input type="text" id="tranCode" name="tranCode" value="${config.tranCode }" size="50"/>
			</td>
			<!-- <td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranCodeTip"></span>
			</td> -->
		</tr>

		
		<tr>
			<td align=right>商户流水号:</td>
			<td>
				<input type="text" id="merOrderNum" name="merOrderNum" value="${config.merOrderNum}" size="50" />
			</td>
			<!-- <td width="25%" align=left>
				<font color=red>*</font>
				<span id="merOrderNumTip"></span>
			</td> -->
		</tr>
<!-- 		<tr>
			<td align=right>前台通知地址:</td>
			<td>
				<input type="text" id="frontMerUrl" name="frontMerUrl" value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/front/recv.do')}" style="width:320px;"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merURLTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>后台通知地址:</td>
			<td>
				<input type="text" id="backgroundMerUrl" name="backgroundMerUrl" value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/background.do')}" style="width:320px;"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merURLTip"></span>
			</td>
		</tr> -->
		<!-- <tr><td align=right></td><td align=center>1:付方承担,2:收方承担,3:商户平台承担</td></tr> -->
		<tr><td align=right>商户ID:</td>
			<td><input type="text" id="merId" name="merId" value="${config.merId }" size="50"/>	</td><!-- <td width="25%" align=left><font color=red>*</font></tr>				<span id="merUserIdTip"></span>			</td> -->		</tr>
        </tr>
        <tr>
			<td align=right>交易时间:</td>
			<td><input type="text" id="tranDateTime" name="tranDateTime" value="${config.tranDateTime }" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="tranDateTimeTip"></span>
			</td>
		</tr>
			
		<tr><td align=right>标号:</td>
			<td><input type="text" id="bidNo" name="bidNo" value="${config.bidNo }" size="50"/>	</td><td width="25%" align=left><font color=red>*</font></tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
		<tr><td align=right>标的名称:</td>
			<td><input type="text" id="bidName" name="bidName" value="${config.bidName }" size="50"/>	</td><td width="25%" align=left><font color=red>*</font></tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
	<!-- <tr><td align=right>标的状态:</td>
			<td><input type="text" id="bidState" name="bidState" value="${config.bidState }" size="4"/>	</td><td width="25%" align=left><font color=red>*</font>标的状态 01：募集中、02：还款中、03：已结束 
		</tr><span id="merUserIdTip"></span>			</td>	
			</tr>
        </tr> -->
		<tr><td align=right>标的产品类型:</td>
			<td><input type="text" id="bidType" name="bidType" value="${config.bidType }" size="50"/>	</td><td width="25%" align=left><font color=red>*</font>01：散标 02：众筹</tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
		<tr><td align=right>标的金额:</td>
			<td><input type="text" id="tranAmt" name="tranAmt" value="${config.tranAmt }" size="50"/>	</td><td width="25%" align=left><font color=red>*</font></tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
		<tr><td align=right>利率（年化）:</td>
			<td><input type="text" id="interest" name="interest" value="${config.interest }" size="50"/>	</td><td width="25%" align=left><font color=red>*</font></tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
		<tr><td align=right>借款期限:</td>
			<td><input type="text" id="loanLife" name="loanLife" value="${config.loanLife}" size="50"/>	</td><td width="25%" align=left><font color=red>*</font></tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
		<tr><td align=right>借款期限单位:</td>
			<td><input type="text" id="loanLifeUnit" name="loanLifeUnitTs" value="${config.loanLifeUnit}" size="50"/>	</td><td width="25%" align=left><font color=red>*</font></tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
		<tr><td align=right>还款方式:</td>
			<td><input type="text" id="repaymentType" name="repaymentType" value="${config.repaymentType }" size="50"/>	</td><td width="25%" align=left><font color=red>*</font>01：一次性还本付息、02：先息后本、03：等额本息、04：等额本金、05、众筹无还款 06:其他</tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
		<tr><td align=right>还款日期:</td>
			<td><input type="text" id="repaymentDay" name="repaymentDay" value="${config.repaymentDay }" size="50"/>	</td><td width="25%" align=left><font color=red>*</font></tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
			
		<tr><td align=right>投标截止日期:</td>
			<td><input type="text" id="biddeadLine" name="biddeadLine" value="${config.biddeadLine}" size="50"/>	</td><td width="25%" align=left><font color=red>*</font></tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
			<tr><td align=right>借款方协议号:</td>
			<td><input type="text" id="borrowerConractNo" name="borrowerConractNo" value="${config.borrowerConractNo }" size="50"/>	</td><td width="25%" align=left><font color=red>*</font></tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
		<tr><td align=right>担保方协议号:</td>
			<td><input type="text" id="suretyContractNo" name="suretyContractNo" value="${config.suretyContractNo }" size="50"/>	</td><td width="25%" align=left><font color=red>*</font>多个担保方协议号用逗号隔开</tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
		<tr><td align=right>备注:</td>
			<td><input type="text" id="remark" name="remark" value="${config.remark }" size="50"/>	</td><td width="25%" align=left><font color=red>*</font></tr>				<span id="merUserIdTip"></span>			</td>		</tr>
        </tr>
	
	<tr>
			<td align=right>后台通知地址:</td>
			<td>
				<input type="text" id="backgroundMerUrl" name="backgroundMerUrl" value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/background.do')}" style="width:320px;"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merURLTip"></span>
			</td>
		</tr>
		<tr><td align=right>国付宝服务器时间:  </td><td><input type="text" id="gopayServerTime" name="gopayServerTime" value="${config.tranDateTime }" size="50"/></td></tr>
		<tr><td align=right>字符集:  </td><td><input type="text"  id="charset" name="charset" value="2" size="50"/></td></tr>
		<tr><td align=right></td><td >1:GBK,2:UTF-8 (不填则当成1处理)</td></tr>
		<tr><td align=right>报文加密方式:  </td><td><input type="text"  id="signType" name="signType" value="1" size="50"/></td></tr>
		<tr><td align=right></td><td >1:MD5,2:SHA (不填则当成1处理)</td></tr>
		<tr>
			<td align=right>用户浏览器IP:</td>
			<td>
				<input type="text" id="tranIP" name="tranIP" value="127.0.0.1" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="recvBankAcctNameTip"></span>
			</td>
		</tr>
		<!--  <tr>
			<td width="30%" align=right>订单禁止重复提交标志:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="isRepeatSubmit" name="isRepeatSubmit" value="0" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;0:不允许,1:允许 (不填则当成1处理)</td>
			<td width="25%" align=left></td>
		</tr> -->
		<tr><td align=right>商户识别码:  </td><td><input type="text" id="verficationCode" name="verficationCode" value="${config.verficationCode }" size="50"/></td></tr> 
		<tr>
			<td colspan=3 width="100%">
				<center>
					<input type="button" value="设置订单" id="defButton" name="defButton"/>&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>
		
		
	</table>
</form>